<template>
  <div class="layout-page">
        <router-view/>
    <van-tabbar route v-model="active">
      <van-tabbar-item icon="home-o" to='/article'>首页</van-tabbar-item>
      <van-tabbar-item icon="bag-o" to='/detail'>找房</van-tabbar-item>
      <van-tabbar-item icon="notes-o"  to='/like'>咨询</van-tabbar-item>
      <van-tabbar-item icon="user-o" to='/user'>我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>
<script>
export default {
  name: 'layout-page',
  data () {
    return {
      active: 0
    }
  }
}
</script>

<style lang="less" scoped></style>
